class user {
    //声明用户的基本信息
    int account;
    int p;
    int cunkuan;
    int yve;
    String name;
    //构造方法初始化
    public user(String name,int account,int p,int cunkuan){
        this.account=account;
        this.name=name;
        this.cunkuan=cunkuan;
        this.p=p;
    }
    //静态方法增加存款
    public static int shuru(int n,int cunkuan) {
        cunkuan+=n;
        return cunkuan;
    }
    //静态方法取钱；
    public static int qvkuan(int n,int cunkuan){
        cunkuan-=n;
        return cunkuan;
    }
    //方法获得储户信息
    public void getAccount() {
        System.out.println(account+"姓命"+name+"存款"+cunkuan+"地址"+p);
    }
}
